// 引入defineStore用于创建store
import { defineStore } from "pinia";

// 定义并暴露一个store
export const useStore = defineStore("defineMap", {
  // 动作
  actions: {},
  // 状态
  state() {
    return {
      leftMenu: {
        visible: false
      },
      searchDialog: {
        visible: false
      },
      pointManagementDiaolog: {
        visible: false
      },
      electronicMapDialog:{
        visible: false
      },
      cameraManagementDialog: {
        visible: false
      }
    };
  },
  // 计算
  getters: {}
});
